package r21118d1119nw;

public class Demo02 {
    public static void main(String[] args) {
        Stu stu1 = new Stu("zhangsan","11");
        Stu stu2 = new Stu("zhangsan","11");
        Stu stu3 = stu1;
        System.out.println(stu1.equals(stu2));
        System.out.println(stu1.equals(stu3));
    }
}
